#ifndef _SHELL_TASKBEANV2_BEAN_H_
#define _SHELL_TASKBEANV2_BEAN_H_

#include "Beans.h"
#include "Message.h"
using namespace std;
class TaskBeanV2 : public Bean
{
	public:
	TaskBeanV2();
	~TaskBeanV2();
	void reset();
	TaskBeanV2* clone();
	//任务id
	int32 sid;
	//任务类型
	string taskType;
	//0为未完成,1为待上交,2为待领取,3为已领取
	int32 uiShow;
	//占位符
	string placeHolder;
	
	bool read_from(ByteBuf& buf);
	bool write_to(ByteBuf& buf);
};

#endif
